<?php
class User_Form_FreeSignupNext extends Custom_Form
{
    public function init()
    {
        $translate = Zend_Registry::get('translate');
        $this->setName("signupnext");
        $this->setMethod('post');

        $this->addElement('select', 'no_of_employee', array(
            'label' => $translate->_('Number of Employees at Company'),
        ));
        
        $this->addElement('select', 'business_sell', array(
            'label' => $translate->_('Does Your Business Primarily Sell to Other Businesses (B2B) or Consumers (B2C)?'),
            'multiOptions' => array('Yes' => 'Yes','No'=>'No'),
        ));
        
        $this->addElement('textarea', 'marketing_challenge', array(
            'label' => $translate->_('What is your biggest marketing challage?'), 
            'filters' => array('StringTrim'),
            
        ));

        $this->addElement('submit', 'Next', 
                            array('ignore' => true,
                                  'required' => false,
                                   'label'=>$translate->_('Next'),
                                 ));

        $element = $this->getElement('Next');
        $element->removeDecorator('label');
        
        $this->no_of_employee->setRegisterInArrayValidator(false);
    }
    
}
?>
